<template>

  <div >
<!--    <vueMiniPlayer :video="video" />-->
    <video width="450" height="350" controls="controls" id="video" preload="auto" autoplay="autoplay" loop="loop" muted="muted"   >
      <source src="https://api.dogecloud.com/player/get.mp4?vcode=5ac682e6f8231991&userId=17&ext=.mp4"   type="video/mp4">
    </video>

  </div>


</template>

<script>
export default {
  name: "Video",
  data() {
    return {
      // 视频播放
      video: {
        width:30,
        height:30,
        url: 'https://api.dogecloud.com/player/get.mp4?vcode=5ac682e6f8231991&userId=17&ext=.mp4',
        cover: 'https://i.loli.net/2019/06/06/5cf8c5d9c57b510947.png'
      }
    }
  },
  mounted() {
    var video=document.getElementById("video");
    video.controls=false;
  }
}
</script>

<style scoped>

</style>
